<%@ page language="java" import="java.util.*,com.ssh.web.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

  <script type="text/javascript" src="js/jquery-1.9.1.js"></script>
	<link href="../css/Untitled-2.css" rel="stylesheet" type="text/css" />

  <script language="javascript" type="text/javascript">

function displayDate()
{
   var pw_1=document.getElementById("newPassword").value;
   var pw_2=document.getElementById("passwordComfirm").value;
   if(pw_1!=pw_2){
    alert("两次输入不一致！");

    }
}

 </script>

  </head>

  <body class="a">

  <center>
  <form action="updatePasswd" name="form_2" method="post">
    <h3>修改密码</h3>
    <hr>
    <br><br>
    旧&nbsp;&nbsp;密&nbsp;&nbsp;码:
    <input type="password" name="oldPasswd" id="oldPasswd">
    <br><br>
    新&nbsp;&nbsp;密&nbsp;&nbsp;码:
    <input type="password" name="newPasswd" id="newPasswd">
    <br><br>
    确认新密码:
    <input type ="password" name="passwordComfirm" id="passwordComfirm">
    <br><br>

    <input type="submit" value="确定" id="queding" onclick="displayDate()">
    <input type="reset" value="取消">

   </form>
    </center>
  </body>
</html>
